module com.kun.video {
    requires javafx.controls;
    requires javafx.fxml;
    requires javafx.graphics;
    requires javafx.web;
    requires java.desktop;
    requires java.base;
    requires java.sql;
    requires jdk.jsobject;
    requires javafx.media;
    // 日志
    requires org.slf4j;
    requires ch.qos.logback.classic;
    requires ch.qos.logback.core;
    // 工具
    requires cn.hutool;
    // json
    requires com.fasterxml.jackson.databind;
    requires com.fasterxml.jackson.datatype.jsr310;
    requires com.fasterxml.jackson.module.paramnames;
    requires org.jetbrains.annotations;
    // 高性能的 Java 类路径扫描库
    requires io.github.classgraph;
    requires uk.co.caprica.vlcj;

    // 开放给反射
    opens com.kun.video.controller to com.fasterxml.jackson.databind, javafx.fxml;
    // 开放CSS包
    opens com.kun.video to javafx.fxml, javafx.graphics;
    opens com.kun.video.ui to javafx.fxml, javafx.controls;
    opens com.kun.video.ui.control to javafx.fxml, javafx.controls;
    opens com.kun.video.ui.progress to javafx.fxml;
    opens com.kun.video.ui.slider to javafx.fxml;
    opens com.kun.video.ui.window to javafx.fxml;
    opens com.kun.video.ui.control.button to javafx.fxml, javafx.controls;
    opens com.kun.video.ui.dialog to javafx.fxml;

    // 导出到其他模块
    exports com.kun.video;
    exports com.kun.video.domain;
    exports com.kun.video.ui;
    exports com.kun.video.ui.control;
    exports com.kun.video.ui.control.button;
    exports com.kun.video.ui.progress;
    exports com.kun.video.ui.slider;
    exports com.kun.video.ui.window;
    exports com.kun.video.ui.dialog;
}